import ReactDOM from 'react-dom'
//结构数据
const list = [
  { id: 1, name: '黑马86期', salary: 11000 },
  { id: 2, name: '黑马87期', salary: 12000 },
  { id: 3, name: '黑马88期', salary: 18000 }
]

// 结构模板：
const box = (
  <div>
    <ul>
      <li>
        <h3>班级：黑马188期</h3>
        <p>工资：15000</p>
      </li>
    </ul>
  </div>
)

ReactDOM.render(box, document.getElementById('root'))
